﻿<%@ Page Language="C#" MasterPageFile="~/MMhome.Master" AutoEventWireup="true" CodeBehind="ReturnResult.aspx.cs"
    Inherits="MobileManager.ReturnResult" Title="返回结果查询" %>

<%@ Register Src="~/UserControl/Smenu.ascx" TagName="Menu" TagPrefix="uc1" %>
<%@ Register Src="~/UserControl/ProvinceListQuick.ascx" TagName="Province" TagPrefix="uc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

    <script language="javascript" type="text/javascript" src="Js/UCcalendar/WdatePicker.js"></script>

    <style type="text/css">
        .divLeft
        {
            width: 165px;
            list-style: none;
            margin-left: 10px;
            margin-right: 5px;
            margin-top: 20px;
            float: left;
        }
        .divRight
        {
            float: left;
            margin-top: 10px;
            margin-right: 10px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderMain" runat="server">
    <div style="width: 100%">
        <div class="divLeft">
            <uc1:Menu ID="uc1menu" runat="server" />
        </div>
        <div class="divRight" style="text-align: center;">
            <div id="divMain" runat="server">
                <table>
                    <tr>
                        <td style="text-align: right;">
                            IMSI：
                        </td>
                        <td style="text-align: left;">
                            <asp:TextBox ID="txtIMSI" runat="server" CssClass="txtBoxNormal" MaxLength="20"></asp:TextBox>
                        </td>
                        <td style="text-align: right;">
                            请求时间From：
                        </td>
                        <td style="text-align: left;">
                            <input class="Wdate" id="inputDateFrom" name="inputDateStart" runat="server" type="text"
                                onclick="WdatePicker()" />
                        </td>
                        <td style="text-align: right;">
                            To：
                        </td>
                        <td style="text-align: left;">
                            <input class="Wdate" id="inputDateTo" name="inputDateStart" runat="server" type="text"
                                onclick="WdatePicker()" />
                        </td>
                    </tr>
                    <tr>
                        <td colspan="6" align="center">
                            <asp:Button ID="btnQuery" runat="server" Text="查 询" CssClass="button_green" Width="70px"
                                OnClick="btnQuery_Click" />
                            &nbsp;&nbsp;&nbsp;
                            <asp:Button ID="btnQueryAll" runat="server" Text="全部显示" CssClass="button_green" Width="70px"
                                OnClick="btnQueryAll_Click" />
                            &nbsp;&nbsp;&nbsp;
                            <asp:Button ID="btnDelete" runat="server" Text="删 除" CssClass="button_blue" Width="70px"
                                Visible="false" OnClick="btnDelete_Click" OnClientClick="return confirm('确定删除？')" />
                        </td>
                    </tr>
                </table>
                <br />
                <div>
                    <div style="width: 50%; float: left; text-align: left; margin-left: 0px;">
                        <asp:Label ID="lbCount" runat="server"></asp:Label>
                    </div>
                    <div style="width: 50%; text-align: right; float: right; margin-right: 20px;">
                        <asp:Label ID="lbRnumAll" runat="server"></asp:Label>
                    </div>
                </div>
                <asp:GridView ID="GVinfo" runat="server" AutoGenerateColumns="False" CssClass="reason_box"
                    Font-Size="12px" CellPadding="0" BorderWidth="0px" BorderColor="#A6E1FF" Width="100%"
                    AllowPaging="True" OnPageIndexChanging="GVinfo_PageIndexChanging" PageSize="20"
                    OnRowDataBound="GVinfo_RowDataBound">
                    <Columns>
                        <asp:TemplateField HeaderText="ID">
                            <ItemTemplate>
                                <asp:Label ID="lbCNO" runat="server" Text='<%# Bind("ID") %>'></asp:Label>
                            </ItemTemplate>
                            <HeaderStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                            <ItemStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="Imsi">
                            <ItemTemplate>
                                <asp:Label ID="lbOName" runat="server" Text='<%# Bind("Imsi") %>'></asp:Label>
                            </ItemTemplate>
                            <HeaderStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                            <ItemStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="记录时间">
                            <ItemTemplate>
                                <asp:Label ID="lbProvinceName" runat="server" Text='<%# Bind("CreateTime") %>'></asp:Label>
                            </ItemTemplate>
                            <HeaderStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                            <ItemStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="查看">
                            <ItemTemplate>
                                <div id="divHtml" runat="server">
                                </div>
                            </ItemTemplate>
                            <HeaderStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                            <ItemStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                        </asp:TemplateField>
                    </Columns>
                    <EmptyDataTemplate>
                        <span style="color: Red; font-weight: bold;">无数据显示</span>
                    </EmptyDataTemplate>
                </asp:GridView>
            </div>
        </div>
    </div>
</asp:Content>
